package com.esun.server.controller;

import com.esun.api.interfaces.ISsoClientApi;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.annotation.Resource;

/**
 * sso客户端控制器
 * @author John.xiao
 * @date 2021/7/31 11:25
 */
@RestController
@RequestMapping("sso")
public class SsoClientController implements ISsoClientApi {
	@Resource(name = "SsoClient")
	ISsoClientApi ssoClientApi;
	@Override
	public Object ssoRequest() {
		return ssoClientApi.ssoRequest();
	}
}
